#ifndef MOCKREQUEST_H
#define MOCKREQUEST_H

#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <QSharedPointer>

#include "network/request.h"

namespace MockObjects
{
	class MockRequest : public Wishmaster::Request
	{
		Q_OBJECT
	public:
		MOCK_METHOD0(perform, void());
		MOCK_METHOD0(error, bool());
		MOCK_CONST_METHOD0(contentType, QString());

//	public slots:
		MOCK_METHOD0(cancel, void());
	};

	typedef QSharedPointer<MockRequest> MockRequestPtr;
}

#endif // MOCKREQUEST_H
